home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
clipboard
/
clipaid
/
clipaid.doc
< prev
next >
Wrap
Text File
|
1996-04-07
|
6KB
|
130 lines
ClipAid(c) v1.0
by
Rui Lopes
This program is Freeware. Use it to your heart's content and don't
feel guilty that you haven't paid anything for it. I do, however, retain
the copyright to ClipAid. The INTACT and UNMODIFIED archive may be
distributed by any non-profit means (in other words, I don't want you making
money off my work).
ClipAid is a commodity (ie. can only be used with Kickstart 2.0 or
greater) that adds extra functionality to the Shell. It allows you to
highlight filenames and then perform some action on them. The supported
actions in this version are delete and show, but many more can be easily
added (and will be in later versions if there is enough interest). What
possible use is this, you ask? Well, to some of you it may be of no use,
but to people like me who still use the Shell a lot it helps by reducing
the amount of typing that I have to do.
Before you begin using ClipAid there are some important settings that
may have to be adjusted. All modifications to ClipAid's behavior are done
by changing various ToolTypes. ClipAid's ToolTypes are found by
single-clicking the ClipAid icon then selecting Information in the Icon menu
on the Workbench window. With the exception of SHOW_ACTION all ToolTypes are
optional; if you don't specify them then the internal default will be used.
The following is a list of ToolTypes with a description of what they do:
DELETE_KEY - the key that (along with the qualifiers Alt and Ctrl)
causes the highlighted files to be deleted. Be careful,
there is no checking as to whether you really want them
deleted, and I take no responsiblity for any data lost
because you accidentally highlighted the wrong file(s).
Default is 'd'.
SHOW_KEY - same idea as DELETE_KEY. Default is 's'.
DELETE_ACTION - this is the Shell command that is executed when the delete
hotkey is pressed. The dollar sign ($) in this ToolType
indicates where the filename(s) will be placed. Default
is 'SYS:c/delete $ all quiet'.
SHOW_ACTION - same idea as DELETE_ACTION. There is no default for this
action because there is no AmigaDOS command for showing
picture files. Therefore you **MUST DEFINE** this ToolType
to use the show function. Also, make sure you give the full
path to the show utility that you use, and don't forget to
include the dollar sign ($) in place of the filename(s).
SEPARATORS - used to customize ClipAid to the directory listing utility
that you use. When more than one files are selected ClipAid
must have a way of separating the entire clip into individual
filenames. This parameter allows you to set what
character(s) will be used as splitting delimeters. For
example, the utility I use (dd) places vertical bars (|)
between each file name, which looks like this (the numbers
indicate file size):
foo 23543|bar 235|test 12975
Therefore, I have put the folllowing into my SEPARATORS
ToolType:
SEPARATORS= |
Notice that there is also a space between the equals sign
(=) and the vertical bar. This space is also counted as
a separator. Default is ' ' (a single space).
EXCLUDE - used to customize ClipAid. With this ToolType you can
specify particular sequences to ignore. For example the
AmigaDos dir command puts '(dir)' after every directory.
Putting the following in the EXCLUDE ToolType will allow
ClipAid to process directory names properly:
EXCLUDE=(dir)
Multiple exclude strings can be defined by separating them
with a vertical bar (|), for example:
EXCLUDE=foo|bar
Default is (dir).
- Numbers, by themselves (ie. the filesizes in the above
directory output, are automatically excluded. Numbers inside
file/directory names, however, will be retained in the name.
For example:
myfile23 55345|23murky 34322
The 23's are kept but the other numbers are excluded.
CX_PRIORITY - This is the place where ClipAid will be placed in the
Commodities chain. Default is 0.
Now that ClipAid is set up it's time to put it to work. I recommend
that you test it in RAM: before you begin using it. This ensures that the
ToolTypes are set correctly (the defaults are set to AmigaDos' dir command,
so if you want to see what it does use that command to get a directory
listing). Ok, you've decided that you want to delete a couple of files.
First, make sure that your current directory is set to the directory where
the unwanted files/directories are located. Second, highlight the unwanted
files/directories with the mouse, just as you would highlight for a Cut/Paste
operation. And finally, press Alt-Ctrl-d (or whichever letter is set in the
DELETE_KEY ToolType). Do another directory listing and the files/directories
should be gone. Displaying pictures is done in a similar manner, the only
difference being that the 's' key is pressed instead of the 'd' key.
Ok, thats all you need to know to use ClipAid. If you have any
problems/bug reports feel free to contact me. Also don't be afraid to suggest
improvements, I'm not asking for any money so don't be shy about writting me
a message. I can be reached at the following places:
Devil BBS User: Rui Lopes
Phone: (403) 484-9200
Internet rlopes@worldgate.edmonton.ab.ca
Mail Rui Lopes
13704 - 70 Street
Edmonton, Alberta
T5C 0K9
Canada